package com.example.demo.幂等性控制.controller;

import com.example.demo.幂等性控制.anniontion.CheckKey;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;

/**
 * @description:
 * @projectName:demo
 * @see:com.example.demo.幂等性控制.controller
 * @author:袁成龙
 * @createTime:2020/10/14 10:40
 * @version:1.0
 */
@RestController
public class TestMdxController {

    @RequestMapping("mdx")
    @CheckKey
    public void test0001(HttpServletRequest request){

        System.out.println("===========================");

    }

}